import QtQuick
import QtQuick.Controls


Item {
    // 容器尺寸：宽1300，高980
    id: parameters_Of_15AxisBack
    width: 1910
    height: 550

    Rectangle{
        anchors.fill: parent
        radius: 5
        border.width: 1
        border.color: "black"
        color: "#87CEEB"
    }

    NumberKeyboard {
        id: sharedKeyboard
        isDirectOverwrite: false // 关闭直接覆盖
    }

    // 布局参数计算
    property int rectangleCount: 16
    property real firstRectWidth: 0  // 第一个矩形固定宽度
    // 剩余宽度 = 总宽度 - 第一个矩形宽度 - (矩形数量-1)*间距
    property real remainingWidth: width - firstRectWidth
    // 其余矩形的宽度（均分剩余宽度）
    property real otherRectWidth: remainingWidth / (rectangleCount)
    property real rectHeight: /*550*/ 320

    property real labelFontSize: 28
    property string labelColor: "aqua"

    Row{

        Rectangle{      // 标题列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#87ceeb"

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{width: 110 ; height: 40 ; color:"transparent";
                    Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("当前位置")}}
                Rectangle{width: 110 ; height: 40 ; color:"transparent";
                    visible: false
                    Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("当前扭矩")}}
                Rectangle{width: 110 ; height: 40 ; color:"transparent";
                    Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("目标位置")}}
                Rectangle{width: 110 ; height: 40 ; color:"transparent";
                    Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("上升/前进")}}
                Rectangle{width: 110 ; height: 40 ; color:"transparent";
                    Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("下降/后退")}}
                Rectangle{width: 110 ; height: 40 ; color:"transparent";
                    Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("定  位")}}
            }


        }
        Rectangle{      // 工进1 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#4169E1"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("工进1")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.Entry_1_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.Entry_1_TQ;}
                }
                NumberInput{        // 工进1_目标位置
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.Entry_1_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5608,value);
                    }
                }
                A_Button{       // 工进1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("前进")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5824,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5824,0)
                }
                A_Button{       // 工进1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("后退")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5864,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5864,0)
                }
                A_Button{       //工进1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5904,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5904,0)
                }
            }
        }
        Rectangle{      // 工进2 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#4169E1"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("工进2")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.Entry_2_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.Entry_2_TQ;}
                }
                NumberInput{        // 前上2刀盘_目标位置
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.Entry_2_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5612,value);
                    }
                }
                A_Button{       // 前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("前进")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5826,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5826,0)
                }
                A_Button{       // 前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("后退")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5866,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5866,0)
                }
                A_Button{//前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5906,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5906,0)
                }
            }
        }
        Rectangle{      // 压辊 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#6A5ACD"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("压辊")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.Idler_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.Idler_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.Idler_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5616,value);
                    }
                }

                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("上升")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5828,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5828,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("下降")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5868,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5868,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5908,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5908,0)
                }
            }
        }
        Rectangle{      // 前上刀1辅助工进 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#98FB98"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("前上进1")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FU_knife_1_A_E_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FU_knife_1_A_E_TQ;}
                }
                NumberInput{        // 前上2刀盘_目标位置
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.FU_knife_1_A_E_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5568,value);
                    }
                }
                A_Button{       // 前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("前进")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5804,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5804,0)
                }
                A_Button{       // 前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("后退")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5844,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5844,0)
                }
                A_Button{//前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5884,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5884,0)
                }
            }
        }

        Rectangle{      // 前上刀2辅助工进 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#98FB98"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("前上进2")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FU_knife_2_A_E_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FU_knife_2_A_E_TQ;}
                }
                NumberInput{        // 前上2刀盘_目标位置
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.FU_knife_2_A_E_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5572,value);
                    }
                }
                A_Button{       // 前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("前进")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5806,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5806,0)
                }
                A_Button{       // 前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("后退")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5846,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5846,0)
                }
                A_Button{//前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5886,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5886,0)
                }
            }
        }

        Rectangle{      // 后上1辅助工进 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#FF6347"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("后上1进")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BU_knife_1_A_E_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BU_knife_1_A_E_TQ;}
                }
                NumberInput{        // 前上2刀盘_目标位置
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.BU_knife_1_A_E_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5584,value);
                    }
                }
                A_Button{       // 前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("前进")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5812,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5812,0)
                }
                A_Button{       // 前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("后退")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5852,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5852,0)
                }
                A_Button{//前上刀1
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5892,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5892,0)
                }
            }
        }

        Rectangle{      // 后上2辅助工进 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#FF6347"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("后上2进")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BU_knife_2_A_E_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BU_knife_2_A_E_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.BU_knife_2_A_E_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5588,value);
                    }
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("前进")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5814,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5814,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("后退")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5854,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5854,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5894,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5894,0)
                }
            }
        }

        Rectangle{      // 前上刀1 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#40E0D0"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("前上1")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FU_knife_1_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FU_knife_1_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.FU_knife_1_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5560,value);
                    }
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("上升")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5800,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5800,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("下降")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5840,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5840,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    buttonEnable: Cpp_PLC.F_1_Location_Forbid === 0
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5880,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5880,0)
                }
            }
        }

        Rectangle{      // 前上刀2 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#40E0D0"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("前上2")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FU_knife_2_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FU_knife_2_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.FU_knife_2_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5564,value);
                    }
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("上升")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5802,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5802,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("下降")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5842,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5842,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    buttonEnable: Cpp_PLC.F_2_Location_Forbid === 0
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5882,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5882,0)
                }
            }
        }

        Rectangle{      // 后上刀1 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#40E0D0"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("后上1")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BU_knife_1_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BU_knife_1_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.BU_knife_1_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5576,value);
                    }
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("上升")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5808,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5808,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("下降")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5848,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5848,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    buttonEnable: Cpp_PLC.B_1_Location_Forbid === 0
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5888,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5888,0)
                }
            }
        }

        Rectangle{      // 后上刀2 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#40E0D0"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("后上2")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BU_knife_2_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BU_knife_2_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.BU_knife_2_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5580,value);
                    }
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("上升")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5810,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5810,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40                    
                    contentText_Data : qsTr("下降")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5850,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5850,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    buttonEnable: Cpp_PLC.B_2_Location_Forbid === 0
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5890,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5890,0)
                }
            }
        }

        Rectangle{      // 前下刀1 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#7FFFAA"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("前下1")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FD_knife_1_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FD_knife_1_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.FD_knife_1_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5592,value);
                    }
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("上升")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5816,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5816,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("下降")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5856,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5856,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    buttonEnable: Cpp_PLC.F_1_Location_Forbid === 0
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5896,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5896,0)
                }
            }
        }

        Rectangle{      // 前下刀2 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#7FFFAA"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("前下2")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FD_knife_2_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.FD_knife_2_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.FD_knife_2_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5596,value);
                    }
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("上升")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5818,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5818,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("下降")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5858,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5858,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    buttonEnable: Cpp_PLC.F_2_Location_Forbid === 0
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5898,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5898,0)
                }
            }
        }
        Rectangle{      // 后下刀1 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#7FFFAA"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("后下1")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BD_knife_1_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BD_knife_1_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.BD_knife_1_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5600,value);
                    }
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("上升")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5820,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5820,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("下降")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5860,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5860,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    buttonEnable: Cpp_PLC.B_1_Location_Forbid === 0
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5900,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5900,0)
                }
            }
        }

        Rectangle{      // 后下刀2 手动操作列
            width: otherRectWidth
            height: rectHeight
            // border.width: 1
            color: "#7FFFAA"

            Rectangle{width: 110 ; height: 40 ; color:"transparent";
                anchors.top: parent.top ;// anchors.topMargin: 45 ;
                anchors.horizontalCenter: parent.horizontalCenter
                Text{anchors.centerIn: parent; font.pixelSize: labelFontSize;text:qsTr("后下2")}}

            Column{
                anchors.horizontalCenter: parent.horizontalCenter
                anchors.top: parent.top
                anchors.topMargin: 50 ;
                spacing: 15

                Rectangle{
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BD_knife_2_CurrLoc;}
                }
                Rectangle{
                    visible: false
                    width: 110;height: 40;border.width: 3;radius: 5;border.color: "white";color: "black";
                    Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;color: labelColor;
                        text: Cpp_PLC.BD_knife_2_TQ;}
                }
                NumberInput{
                    inputWidth: 110
                    inputHeight: 40
                    keyboard: sharedKeyboard
                    text: Cpp_PLC.BD_knife_2_AimLoc
                    onEditingFinished: function(value){
                        Cpp_PLC.write_into_tcp_Hold32(5604,value);
                    }
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("上升")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5822,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5822,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    contentText_Data : qsTr("下降")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5862,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5862,0)
                }
                A_Button{
                    buttonWidth: 110
                    buttonHeight: 40
                    buttonEnable: Cpp_PLC.B_2_Location_Forbid === 0
                    contentText_Data : qsTr("定位")
                    onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(5902,1)
                    onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(5902,0)
                }
            }
        }


    }



    Rectangle{      // 前上1，前上2辅助工进_联动区域
        width: 240
        height: 230
        anchors.bottom: parameters_Of_15AxisBack.bottom
        anchors.left: parameters_Of_15AxisBack.left
        anchors.leftMargin: 358 + otherRectWidth
        border.width: 1
        radius: 5
        color: "gold"

        A_CheckBox{
            text: qsTr("单动模式")
            anchors.left: parent.left
            anchors.leftMargin: 10
            fontSize: 30
            spacing: 15
            onToggled : function(value) {
                if(value)
                {
                    text = qsTr("联动模式")
                    Cpp_PLC.write_into_tcp_Hold16(6176,"1")
                }
                else
                {
                    text = qsTr("单动模式")
                    Cpp_PLC.write_into_tcp_Hold16(6176,"0")
                }
            }
        }

        Rectangle{
            width: 200;height: 40;radius: 5;color: "transparent";
            // border.width: 1
            anchors.top: parent.top
            anchors.topMargin: 50
            anchors.left: parent.left
            anchors.leftMargin: 10
            Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;
                text: qsTr("联动位置");}
        }


        NumberInput{
            id: fUpper_Knife_Ass_Share
            anchors.top: parent.top
            anchors.topMargin: 95
            anchors.horizontalCenter: parent.horizontalCenter
            keyboard: sharedKeyboard
            onEditingFinished: function(value){
                text = value;
            }
        }

        A_Button{
            anchors.top: parent.top
            anchors.topMargin: 160
            anchors.horizontalCenter: parent.horizontalCenter
            contentText_Data: qsTr("设 置")
            onButtonClicked: {
                Cpp_PLC.write_into_tcp_hold_F_Uknife_Ass_Share(fUpper_Knife_Ass_Share.text)
            }
        }



    }

    Rectangle{      // 后上1, 后上2辅助工进_联动区域
        width: 238
        height: 230
        anchors.bottom: parameters_Of_15AxisBack.bottom
        anchors.left: parameters_Of_15AxisBack.left
        anchors.leftMargin: 598 + otherRectWidth
        border.width: 1
        radius: 5
        color: "gold"

        A_CheckBox{
            text: qsTr("单动模式")
            anchors.left: parent.left
            anchors.leftMargin: 10
            fontSize: 30
            spacing: 15
            onToggled : function(value) {
                if(value)
                {
                    text = qsTr("联动模式")
                    Cpp_PLC.write_into_tcp_Hold16(6178,"1")
                }
                else
                {
                    text = qsTr("单动模式")
                    Cpp_PLC.write_into_tcp_Hold16(6178,"0")
                }
            }
        }

        Rectangle{
            width: 200;height: 40;radius: 5;color: "transparent";
            // border.width: 1
            anchors.top: parent.top
            anchors.topMargin: 50
            anchors.left: parent.left
            anchors.leftMargin: 10
            Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;
                text: qsTr("联动位置");}
        }

        NumberInput{
            id: bUpper_Knife_Ass_Share
            anchors.top: parent.top
            anchors.topMargin: 95
            anchors.horizontalCenter: parent.horizontalCenter
            keyboard: sharedKeyboard
            onEditingFinished: function(value){
                text = value;
            }
        }

        A_Button{
            anchors.top: parent.top
            anchors.topMargin: 160
            anchors.horizontalCenter: parent.horizontalCenter
            contentText_Data: qsTr("设 置")
            onButtonClicked: {
                // console.log(bUpper_Knife_Ass_Share.text);
                Cpp_PLC.write_into_tcp_hold_B_Uknife_Ass_Share(bUpper_Knife_Ass_Share.text)
            }
        }

    }

    Rectangle{      // 前上刀盘1, 前上刀盘2，后上刀盘1, 后上刀盘2_联动区域
        width: 478
        height: 230
        anchors.bottom: parameters_Of_15AxisBack.bottom
        anchors.left: parameters_Of_15AxisBack.left
        anchors.leftMargin: 836 + otherRectWidth
        border.width: 1
        radius: 5
        color: "gold"

        A_CheckBox{
            text: qsTr("单动模式")
            anchors.left: parent.left
            anchors.leftMargin: 10
            fontSize: 30
            spacing: 15
            onToggled : function(value) {
                if(value)
                {
                    text = qsTr("联动模式")
                    Cpp_PLC.write_into_tcp_Hold16(6172,"1")
                }
                else
                {
                    text = qsTr("单动模式")
                    Cpp_PLC.write_into_tcp_Hold16(6172,"0")
                }
            }
        }

        Rectangle{
            width: 200;height: 40;radius: 5;color: "transparent";
            // border.width: 1
            anchors.top: parent.top
            anchors.topMargin: 50
            anchors.left: parent.left
            anchors.leftMargin: 10
            Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;
                text: qsTr("联动位置");}
        }

        NumberInput{
            id: upper_Knife_Share
            anchors.top: parent.top
            anchors.topMargin: 95
            anchors.left: parent.left
            anchors.leftMargin: 10
            keyboard: sharedKeyboard
            onEditingFinished: function(value){
                text = value;
            }
        }

        A_Button{
            anchors.top: parent.top
            anchors.topMargin: 160
            anchors.left: parent.left
            anchors.leftMargin: 10
            // anchors.horizontalCenter: parent.horizontalCenter
            contentText_Data: qsTr("设 置")
            onButtonClicked: {
                Cpp_PLC.write_into_tcp_hold_FUpper_Knife_Share(upper_Knife_Share.text)
            }

        }

        A_Button{
            anchors.top: parent.top
            anchors.topMargin: 160
            anchors.right: parent.right
            anchors.rightMargin: 10
            // anchors.horizontalCenter: parent.horizontalCenter
            contentText_Data: qsTr("设 置")
            onButtonClicked: {
                Cpp_PLC.write_into_tcp_hold_BUpper_Knife_Share(upper_Knife_Share.text)
            }
        }

    }

    Rectangle{      // 前下刀盘1, 前下刀盘2，后下刀盘1, 后下刀盘2_联动区域
        width: 478
        height: 230
        anchors.bottom: parameters_Of_15AxisBack.bottom
        anchors.left: parameters_Of_15AxisBack.left
        anchors.leftMargin: 1314 + otherRectWidth
        border.width: 1
        radius: 5
        color: "gold"

        A_CheckBox{
            text: qsTr("单动模式")
            anchors.left: parent.left
            anchors.leftMargin: 10
            fontSize: 30
            spacing: 15
            onToggled : function(value) {
                if(value)
                {
                    text = qsTr("联动模式")
                    Cpp_PLC.write_into_tcp_Hold16(6174,"1")
                }
                else
                {
                    text = qsTr("单动模式")
                    Cpp_PLC.write_into_tcp_Hold16(6174,"0")
                }
            }
        }

        Rectangle{
            width: 200;height: 40;radius: 5;color: "transparent";
            // border.width: 1
            anchors.top: parent.top
            anchors.topMargin: 50
            anchors.left: parent.left
            anchors.leftMargin: 10
            Text{anchors.centerIn: parent;font.pixelSize: labelFontSize;
                text: qsTr("联动位置");}
        }

        NumberInput{
            id: lower_Knife_Share
            anchors.top: parent.top
            anchors.topMargin: 95
            anchors.left: parent.left
            anchors.leftMargin: 10
            keyboard: sharedKeyboard
            onEditingFinished: function(value){
                text = value;
            }
        }

        A_Button{
            anchors.top: parent.top
            anchors.topMargin: 160
            anchors.left: parent.left
            anchors.leftMargin: 10
            // anchors.horizontalCenter: parent.horizontalCenter
            contentText_Data: qsTr("设 置")
            onButtonClicked: {
                Cpp_PLC.write_into_tcp_hold_FLower_Knife_Share(lower_Knife_Share.text)
            }
        }
        A_Button{
            anchors.top: parent.top
            anchors.topMargin: 160
            anchors.right: parent.right
            anchors.rightMargin: 10
            // anchors.horizontalCenter: parent.horizontalCenter
            contentText_Data: qsTr("设 置")
            onButtonClicked: {
                Cpp_PLC.write_into_tcp_hold_BLower_Knife_Share(lower_Knife_Share.text)
            }
        }

    }


    A_CheckBox{
        text: qsTr("低速")
        anchors.left: parent.left
        anchors.leftMargin: 130
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 180
        fontSize: 30
        spacing: 15
        onToggled : function(value) {
            if(value)
            {
                text = qsTr("高速")
                Cpp_PLC.write_into_tcp_Hold16(6170,"1")
            }
            else
            {
                text = qsTr("低速")
                Cpp_PLC.write_into_tcp_Hold16(6170,"0")
            }
        }
    }

    A_Button{
        anchors.left: parent.left
        anchors.leftMargin: 125
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 130
        buttonWidth: 230
        buttonHeight: 50
        contentText_Data : qsTr("联动定位")
        onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(6160,1)
        onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(6160,0)
    }

    A_Button{
        anchors.left: parent.left
        anchors.leftMargin: 125
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 70
        buttonWidth: 230
        buttonHeight: 50
        contentText_Data : qsTr("联动停止")
        onButtonPressed: Cpp_PLC.write_into_tcp_Hold16(6164,1)
        onButtonReleased: Cpp_PLC.write_into_tcp_Hold16(6164,0)
    }




}
